#pragma once

#include <QtCore/QList>
#include "Token.h"


//whether to use template technique?

class Pool
{
public:
	Pool(void);
	virtual ~Pool(void);

	virtual bool pushToken(Token* pToken);
	virtual Token* token();
	virtual void popToken();

private:
	QList<Token*> tokens;
};
